import req from '@/utils/request'

// 获取code
export const getCode = (params) => req.post('/api/transfer/authorize', params)
// 获取信息
export const getUserinfo = (params) => req.post('/api/h5/get', params)
//H5 - 计算收费金额
export const getcalculate = (params) => req.post('/api/h5/calculate', params)
//H5 - 支付
export const getpay = (params) => req.post('/api/h5/pay', params)
//H5 - 支付成功 
export const getsuccessful = (params) => req.post('/api/h5/successful', params)